using MyBookStore.Web;
var builder = WebApplication.CreateBuilder(args);
builder.Host.UseAutofac();
builder.Services.AddApplication<MyBookStoreWebModule>();
var app = builder.Build();
app.InitializeApplication();
app.Run();